package com.ruoyi.develop.factory.factoryTestMachineryCommon.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通用机械试验对象 factory_test_machinery_common
 *
 * @author lmm
 * @date 2025-07-14
 */
public class FactoryTestMachineryCommon extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectCode;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 工单id */
    @Excel(name = "工单id")
    private String workOrderId;

    /** 工单code */
    @Excel(name = "工单code")
    private String workOrderCode;

    /** 材料 */
    @Excel(name = "材料")
    private String materialId;

    /** 产品id */
    @Excel(name = "产品id")
    private String goodsId;

    /** 产品到货id */
    @Excel(name = "产品到货id")
    private String daohuoDetailId;

    /** 入库id */
    @Excel(name = "入库id")
    private String rukuId;

    /** 生产明细id */
    @Excel(name = "生产明细id")
    private String produceRecordDetailId;

    /** 发货明细id */
    @Excel(name = "发货明细id")
    private String fahuoDetailId;

    /** 抽样id */
    @Excel(name = "抽样id")
    private String sampleId;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String goodsCode;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderCode;

    /** 订单产品关联id */
    @Excel(name = "订单产品关联id")
    private String goodsSaleId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 检验编号 */
    @Excel(name = "检验编号")
    private String inspectNumber;

    /** 材料类别 */
    @Excel(name = "材料类别")
    private String type;

    /** 原材料制造商 */
    @Excel(name = "原材料制造商")
    private String producer;

    /** 牌号 */
    @Excel(name = "牌号")
    private String code;

    /** 炉批号 */
    @Excel(name = "炉批号")
    private String heatBatchNumber;

    /** 来料检验批次号 */
    @Excel(name = "来料检验批次号")
    private String batchNumber;

    /** 出厂检测日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出厂检测日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date leaveInspectDate;

    /** 入厂检测日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "入厂检测日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date arriveInspectDate;

    /** 机械性能-抗拉强度 */
    @Excel(name = "机械性能-抗拉强度")
    private String tensileStrength;

    /** 屈服强度 */
    @Excel(name = "屈服强度")
    private String succumbStrength;

    /** 机械性能-断后伸长率 */
    @Excel(name = "机械性能-断后伸长率")
    private String extend;

    /** 机械性能-硬度 */
    @Excel(name = "机械性能-硬度")
    private String hardness;

    /** 拉伸强度 */
    @Excel(name = "拉伸强度")
    private String pullStrength;

    /** 延伸率 */
    @Excel(name = "延伸率")
    private String extendRate;

    /** 力学性能-单丝强度 */
    @Excel(name = "力学性能-单丝强度")
    private String singleStrength;

    /** 质检是否通过 */
    @Excel(name = "质检是否通过")
    private String testPass;

    /** 检测结果 */
    @Excel(name = "检测结果")
    private String result;

    /** 删除标志 */
    private String delFlag;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setProjectId(String projectId)
            {
            this.projectId = projectId;
            }

    public String getProjectId()
            {
            return projectId;
            }
    public void setProjectCode(String projectCode)
            {
            this.projectCode = projectCode;
            }

    public String getProjectCode()
            {
            return projectCode;
            }
    public void setOrderId(String orderId)
            {
            this.orderId = orderId;
            }

    public String getOrderId()
            {
            return orderId;
            }
    public void setWorkOrderId(String workOrderId)
            {
            this.workOrderId = workOrderId;
            }

    public String getWorkOrderId()
            {
            return workOrderId;
            }
    public void setWorkOrderCode(String workOrderCode)
            {
            this.workOrderCode = workOrderCode;
            }

    public String getWorkOrderCode()
            {
            return workOrderCode;
            }
    public void setMaterialId(String materialId)
            {
            this.materialId = materialId;
            }

    public String getMaterialId()
            {
            return materialId;
            }
    public void setGoodsId(String goodsId)
            {
            this.goodsId = goodsId;
            }

    public String getGoodsId()
            {
            return goodsId;
            }
    public void setDaohuoDetailId(String daohuoDetailId)
            {
            this.daohuoDetailId = daohuoDetailId;
            }

    public String getDaohuoDetailId()
            {
            return daohuoDetailId;
            }
    public void setRukuId(String rukuId)
            {
            this.rukuId = rukuId;
            }

    public String getRukuId()
            {
            return rukuId;
            }
    public void setProduceRecordDetailId(String produceRecordDetailId)
            {
            this.produceRecordDetailId = produceRecordDetailId;
            }

    public String getProduceRecordDetailId()
            {
            return produceRecordDetailId;
            }
    public void setFahuoDetailId(String fahuoDetailId)
            {
            this.fahuoDetailId = fahuoDetailId;
            }

    public String getFahuoDetailId()
            {
            return fahuoDetailId;
            }
    public void setSampleId(String sampleId)
            {
            this.sampleId = sampleId;
            }

    public String getSampleId()
            {
            return sampleId;
            }
    public void setGoodsCode(String goodsCode)
            {
            this.goodsCode = goodsCode;
            }

    public String getGoodsCode()
            {
            return goodsCode;
            }
    public void setOrderCode(String orderCode)
            {
            this.orderCode = orderCode;
            }

    public String getOrderCode()
            {
            return orderCode;
            }
    public void setGoodsSaleId(String goodsSaleId)
            {
            this.goodsSaleId = goodsSaleId;
            }

    public String getGoodsSaleId()
            {
            return goodsSaleId;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setInspectNumber(String inspectNumber)
            {
            this.inspectNumber = inspectNumber;
            }

    public String getInspectNumber()
            {
            return inspectNumber;
            }
    public void setType(String type)
            {
            this.type = type;
            }

    public String getType()
            {
            return type;
            }
    public void setProducer(String producer)
            {
            this.producer = producer;
            }

    public String getProducer()
            {
            return producer;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setHeatBatchNumber(String heatBatchNumber)
            {
            this.heatBatchNumber = heatBatchNumber;
            }

    public String getHeatBatchNumber()
            {
            return heatBatchNumber;
            }
    public void setBatchNumber(String batchNumber)
            {
            this.batchNumber = batchNumber;
            }

    public String getBatchNumber()
            {
            return batchNumber;
            }
    public void setLeaveInspectDate(Date leaveInspectDate)
            {
            this.leaveInspectDate = leaveInspectDate;
            }

    public Date getLeaveInspectDate()
            {
            return leaveInspectDate;
            }
    public void setArriveInspectDate(Date arriveInspectDate)
            {
            this.arriveInspectDate = arriveInspectDate;
            }

    public Date getArriveInspectDate()
            {
            return arriveInspectDate;
            }
    public void setTensileStrength(String tensileStrength)
            {
            this.tensileStrength = tensileStrength;
            }

    public String getTensileStrength()
            {
            return tensileStrength;
            }
    public void setSuccumbStrength(String succumbStrength)
            {
            this.succumbStrength = succumbStrength;
            }

    public String getSuccumbStrength()
            {
            return succumbStrength;
            }
    public void setExtend(String extend)
            {
            this.extend = extend;
            }

    public String getExtend()
            {
            return extend;
            }
    public void setHardness(String hardness)
            {
            this.hardness = hardness;
            }

    public String getHardness()
            {
            return hardness;
            }
    public void setPullStrength(String pullStrength)
            {
            this.pullStrength = pullStrength;
            }

    public String getPullStrength()
            {
            return pullStrength;
            }
    public void setExtendRate(String extendRate)
            {
            this.extendRate = extendRate;
            }

    public String getExtendRate()
            {
            return extendRate;
            }
    public void setSingleStrength(String singleStrength)
            {
            this.singleStrength = singleStrength;
            }

    public String getSingleStrength()
            {
            return singleStrength;
            }
    public void setTestPass(String testPass)
            {
            this.testPass = testPass;
            }

    public String getTestPass()
            {
            return testPass;
            }
    public void setResult(String result)
            {
            this.result = result;
            }

    public String getResult()
            {
            return result;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("projectId",getProjectId())
            .append("projectCode",getProjectCode())
            .append("orderId",getOrderId())
            .append("workOrderId",getWorkOrderId())
            .append("workOrderCode",getWorkOrderCode())
            .append("materialId",getMaterialId())
            .append("goodsId",getGoodsId())
            .append("daohuoDetailId",getDaohuoDetailId())
            .append("rukuId",getRukuId())
            .append("produceRecordDetailId",getProduceRecordDetailId())
            .append("fahuoDetailId",getFahuoDetailId())
            .append("sampleId",getSampleId())
            .append("goodsCode",getGoodsCode())
            .append("orderCode",getOrderCode())
            .append("goodsSaleId",getGoodsSaleId())
            .append("name",getName())
            .append("inspectNumber",getInspectNumber())
            .append("type",getType())
            .append("producer",getProducer())
            .append("code",getCode())
            .append("heatBatchNumber",getHeatBatchNumber())
            .append("batchNumber",getBatchNumber())
            .append("leaveInspectDate",getLeaveInspectDate())
            .append("arriveInspectDate",getArriveInspectDate())
            .append("tensileStrength",getTensileStrength())
            .append("succumbStrength",getSuccumbStrength())
            .append("extend",getExtend())
            .append("hardness",getHardness())
            .append("pullStrength",getPullStrength())
            .append("extendRate",getExtendRate())
            .append("singleStrength",getSingleStrength())
            .append("testPass",getTestPass())
            .append("result",getResult())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("delFlag",getDelFlag())
        .toString();
    }
}
